home *** CD-ROM | disk | FTP | other *** search
/ Shareware Super Platinum 8 / Shareware Super Platinum 8.iso / mac / DATABASE / AUTIMP21.ZIP;1 / AITEST.ZIP / README.DOC < prev    next >
Encoding:
Text File  |  1993-08-06  |  82.4 KB  |  1,883 lines

  1.       "README.DOC" File for the Test Drive version of AutoImport 2.1
  2.  
  3.                         Spalding Software, Inc.
  4.                    154 Technology Parkway, Suite 250
  5.                           Norcross, GA  30092
  6.                                  USA
  7.               Voice: (404) 449-1634    Fax: (404) 449-0052
  8.  
  9. The Demo & Test Drive diskette kit includes a user's guide that provides
  10. introductory information about how to use the AutoImport Test Drive.  This
  11. file provides additional and more detailed information about using
  12. AutoImport.
  13.  
  14. REMEMBER:
  15.  
  16.      To run the Demo, type AIDEMO and press <Enter>
  17.  
  18.      To run the Test Drive, type AI and press <Enter>
  19.  
  20.  
  21.  
  22. FILES --------------------------------------------------------------------
  23.  
  24. Three files are involved in a file translation using AutoImport: Input,
  25. Output, and Mask.  The Input File contains the information that you want to
  26. translate.  You use AutoImport to create a Mask, which is a set of
  27. instructions that tell AutoImport how to translate the Input File.  During
  28. translation, AutoImport creates an Output File containing the translated
  29. data.
  30.  
  31.  
  32. >> INPUT FILES <<
  33.  
  34. The Input File contains the data you want to translate.  The file can be
  35. any ASCII file.  The Input File is typically a print file or output from
  36. another computer, such as a mainframe or a PC.  The Printer Interceptor
  37. utility can also create Input Files by capturing output sent to a printer
  38. port.
  39.  
  40. There is no limit to the record size of the file or the number of records
  41. in the file.  However, information can only be translated from the first
  42. 1024 characters of each record.
  43.  
  44. AutoImport can handle files that have their information formatted many
  45. different ways.  Files that have their data in a columnar format are easier
  46. to work with.  Utilities are provided that convert several types of non-
  47. ASCII and non-columnar files into ASCII columnar files.
  48.  
  49. The Input File can contain printer control codes (ASCII characters 0
  50. through 31).  The control codes can be removed by using the Mask Screen's
  51. Exclude Characters option.
  52.  
  53.  
  54. SPECIFYING AN INPUT FILE FOR TRANSLATION
  55.  
  56. The Input File containing the information to be translated can be selected
  57. from either the Mask Screen or the Translation Screen.  When a mask is
  58. created, the name of the file that was displayed during the definition
  59. process is saved as part of the mask.  AutoImport uses this as the default
  60. file name to translate.  This file name can be changed or overridden at the
  61. Translation Screen.
  62.  
  63.  
  64. CONVERTING FILES FOR USE AS AN INPUT FILE
  65.  
  66. Prior to displaying a file for mask definition, you may want to convert the
  67. file using the functions available from the Utilities Screen.  These
  68. functions make mask definition easier and more effective for certain types
  69. of files.  Following are the types of conversions that are available:
  70.  
  71. LINE-SPLIT     Splits the Input File vertically by producing two or more
  72.                files, each with a shorter specified record length.
  73.  
  74. RECORD-SPLIT   Splits a file with a large number of records into several
  75.                files, each with a specified number of lines.
  76.  
  77. TABS           Expands tabs by inserting spaces to align the data in
  78.                columns. 
  79.  
  80. CSV            Converts comma separated value file to fixed length column
  81.                file. 
  82.  
  83. FIXED          Breaks up a file with fixed length records without record
  84.                separators into a fixed length file with record separators.
  85.  
  86. UNSTACK        Makes single-line items of multiple lines that logically go
  87.                together.
  88.  
  89. DBASE          Converts a dBase II, III, or IV data file into an ASCII
  90.                columnar file with the database field names above each
  91.                column.
  92.  
  93. EBCDIC to ASCII     Converts a file that has been downloaded from an IBM
  94.                     mainframe or midrange computer that has EBCDIC encoding
  95.                     into an ASCII encoded file.
  96.  
  97.  
  98. CAPTURING PRINTER OUTPUT FOR USE AS AN INPUT FILE
  99.  
  100. Some applications cannot print their output to a disk file.  AutoImport's
  101. Printer Interceptor is a Terminate and Stay Resident (TSR) program that
  102. intercepts output sent to a printer port and writes it to a Capture File.
  103.  
  104. Printer Interceptor can be installed, modified and un-installed from either
  105. the Printer Interceptor Screen, or from the DOS command line.
  106.  
  107.  
  108. >> MASK FILES <<
  109.  
  110. A Mask File contains the set of instructions defining how the data in an
  111. Input File will be copied and translated into a specific type of Output
  112. File.  These instructions indicate which columns and lines are included,
  113. and how they should be translated.  It also contains either the specified
  114. or default Input File name, Output File name and type of translation.  A
  115. Mask File must be saved to disk before a translation can be performed.
  116.  
  117.  
  118. SAVING AND NAMING A MASK FILE
  119.  
  120. The default name for the Mask File is the same as the Input File name with
  121. the extension of .MSK, which is automatically added to the name of all Mask
  122. Files.  When providing a name for a mask, the current mask name is
  123. displayed.  A new name can be entered by typing over the existing name. 
  124. This leaves the original Mask File on disk unchanged.  Mask Files can be
  125. named and saved from both the Mask Screen and the Translation Screen.
  126.  
  127.  
  128. MODIFYING OR DUPLICATING A MASK
  129.  
  130. A previously defined mask can be modified by retrieving the Mask File,
  131. making any desired changes, and then saving it.  A file saved with the same
  132. name, replaces the original file.  Entering a new name at the prompt for
  133. file name at the Save option, will save the mask as a new file and leave
  134. the original mask unchanged.
  135.  
  136. The Mask File can be retrieved from either the Mask Screen or the
  137. Translation Screen.  From the Mask Screen, all of the mask settings can be
  138. changed.  From the Translation Screen, changes are primarily limited to
  139. selecting the Input File, Output File and translation type.
  140.  
  141.  
  142. REUSING A MASK
  143.  
  144. AutoImport's method of translation using a defined set of instructions is
  145. especially useful when you regularly translate files with the same
  146. structure (e.g., periodic reports).  Once a set of translation instructions
  147. is defined and saved as a mask, it can be used whenever it describes the
  148. data selection desired for an Input File.
  149.  
  150.  
  151. >> OUTPUT FILES <<
  152.  
  153. AutoImport places the extracted data in an Output File whose name, file
  154. type, and location on the disk are specified by the user.
  155.  
  156.  
  157. SELECTING OUTPUT FILE TYPE
  158.  
  159. AutoImport can translate a file into many different file formats.  The
  160. correct file extension is automatically appended to each Output File.
  161.  
  162. The Output File type can be selected from either the Mask or Translation
  163. Screens.  From the Mask Screen, the Output File type is selected with the
  164. Files Output Type option.  From the Translation Screen, it is selected with
  165. the Type option.
  166.  
  167. The available translation types are displayed.  The currently selected type
  168. is highlighted.  Examine the documentation accompanying your software
  169. application to determine the file type and/or file extension required.  Use
  170. the cursor keys to choose the output type desired.
  171.  
  172. AutoImport can translate data into the following file types:
  173.  
  174. SPREADSHEETS        Lotus 1-2-3 and Symphony, Microsoft Excel, and Borland
  175.                     Quattro and Quattro Pro.
  176.  
  177. DATABASES           dBase II, III, III-Plus and IV, FoxPro, Clipper, Alpha
  178.                     4, and Clarion. Interchange   Columnwise DIF, Rowwise
  179.                     DIF and Symbolic Link files (SYLK).
  180.  
  181. TEXT                Standard Data Format (SDF), fixed record format without
  182.                     delimiters, Tab Separated Variable (TSV), Comma
  183.                     Separated Variable (CSV), print image, and mailing
  184.                     label format.
  185.  
  186. WORD PROCESSING     WordPerfect secondary merge file, Microsoft Word data
  187.                     document, and DOS Text.
  188.  
  189.  
  190. SELECTING OUTPUT FILE NAME
  191.  
  192. The Output File name defaults to the Input File name.  You can change the
  193. name of the Output File to any name supported by the DOS naming
  194. conventions.  AutoImport adds the file extension based on the type of
  195. Output File you want created when the translation is performed.
  196.  
  197. When a mask is saved, AutoImport saves the name of the last specified
  198. Output File.  This name is used when the mask is used for translation.
  199.  
  200. The Output File name can be specified from the Translation Screen by
  201. selecting the Output File option.  You may also specify the Output File
  202. name at the Mask Screen by selecting the Files Output Name option.
  203.  
  204.  
  205. TRANSLATING TO AN EXISTING OUTPUT FILE
  206.  
  207. The output of a translation is usually to a newly-created file, however,
  208. you can direct the output to an existing file.  In this case, you can
  209. direct AutoImport to Append the new data to the end of an existing file, or
  210. to Replace the data in the existing file with data from the current
  211. translation.
  212.  
  213. AutoImport's File-combine option functions in the same way as the File
  214. Combine option in Lotus 1-2-3 and other spreadsheet programs.  This option
  215. is valid only for spreadsheet Output File types.
  216.  
  217.  
  218. MASKING AN INPUT FILE ----------------------------------------------------
  219.  
  220. AutoImport offers extensive methods of specifying treatment for the data in
  221. Input Files.  Information can be selectively included or excluded when the
  222. Input File is translated.  The settings and selections are defined on the
  223. Mask Screen and saved in a file called the Mask File.
  224.  
  225. The first step in defining a Mask is to select the Input File.  The Mask
  226. Screen  provides a "window" to view the Input File.  The window can be
  227. moved to view any portion of the Input File.
  228.  
  229. While the Input File is displayed, selections are made from the menus. 
  230. AutoImport shows the effects of these selections by changing the foreground
  231. and background colors of the information in the Input File.
  232.  
  233.  
  234. >> MOVING AROUND THE MASK SCREEN <<
  235.  
  236. Many operations in AutoImport involve moving the cursor to a position on
  237. the screen and selecting an action to take place at that cursor position in
  238. the Input File.  Several techniques are available for moving the window and
  239. positioning the cursor in the Input File.  These techniques include the use
  240. of cursor keys, function keys and search routines.
  241.  
  242.  
  243. CURSOR KEY OPERATIONS
  244.  
  245. The cursor keys provide an easy way to move around the Mask Screen when in
  246. the Ready mode.  These keys are also used to define the ranges of lines and
  247. columns when in the Point mode.
  248.  
  249. DOWN ARROW     Moves the cursor down one line
  250.  
  251. UP ARROW       Moves the cursor up one line
  252.  
  253. RIGHT ARROW    Moves the cursor to the right one position
  254.  
  255. LEFT ARROW     Moves the cursor to the left one position
  256.  
  257. PAGE UP        Displays the previous 20 lines of the Mask and Input File
  258.                while leaving the cursor at the same position
  259.  
  260. PAGE DOWN      Displays the next 20 lines of the Mask and Input File while
  261.                leaving the cursor at the same position on the screen
  262.  
  263. HOME           Displays the first 20 lines on the Input File and moves the
  264.                cursor to line 1 position 1
  265.  
  266. TAB            Displays the next 77 positions to the right of the currently
  267.                displayed lines while leaving the cursor at the same
  268.                position
  269.  
  270. SHIFT TAB      Displays the previous 77 positions to the left of the
  271.                currently displayed lines while leaving the cursor at the
  272.                same position
  273.  
  274. CONTROL RIGHT  If the cursor is not in a column, moves to next word.  If
  275.                cursor is in a column, moves to first position past column
  276.  
  277. CONTROL LEFT   Moves cursor to previous word or column
  278.  
  279. END            Toggles the end mode on and off, redefining the movement
  280.                keys to the following operations:
  281.  
  282. END UP         Displays the first 20 lines of the mask and moves the cursor
  283.                to line one, in the same column position
  284.  
  285. END DOWN       Displays the last 20 lines of the Input File and moves the
  286.                cursor to the last line, in the same column position
  287.  
  288. END LEFT       Displays the currently displayed lines, beginning at the
  289.                first position of each line and moves the cursor to the
  290.                first position in the line
  291.  
  292. END RIGHT      Displays the last position of the currently displayed lines
  293.                and moves the cursor to the last position in the line
  294.  
  295. END HOME       Displays the last 20 lines of the right-most positions of
  296.                the Input File and moves the cursor to the last line and
  297.                position in the Input File
  298.  
  299. END PAGE DOWN  Displays the last 20 lines in the mask and moves the cursor
  300.                to the last line, in the same position
  301.  
  302. END PAGE UP    Same as End Up
  303.  
  304.  
  305. MOVING THE CURSOR TO A SPECIFIC LINE
  306.  
  307. Pressing the <F3> key will prompt for the line in the Input File at which
  308. to place the cursor.  The Input File is redisplayed with the specified line
  309. at the top of the window.
  310.  
  311.  
  312. SEARCHING FOR A SPECIFIC STRING OF CHARACTERS
  313.  
  314. To quickly find and display a line in the Input File that contains a
  315. particular string of characters, select the Search String option.  At the
  316. prompt, enter the string of characters to be searched for.  The search is
  317. not case dependent, upper and lower case letters are equivalent.  The next
  318. occurrence of the string in the file, if any, is displayed on the top line
  319. of the window with the cursor on the first character of the string.  To
  320. find the next occurrence, select Next.  To find the first occurrence select
  321. First.
  322.  
  323. NOTE:   To search for a character string and replace it with another
  324. string, use the Mask Screen's Exclude Characters option.
  325.  
  326.  
  327. SEARCHING FOR A CHARACTER WITH A SPECIFIC ASCII CODE
  328.  
  329. Characters, such as graphics characters, not easily entered from the
  330. keyboard can be located using their ASCII values.  To find lines containing
  331. a specified character, select the Search ASCII-character option.  At the
  332. prompt, type in the number (0-255) of the ASCII code representing the
  333. character.  The next occurrence of the character in the file, if any, is
  334. displayed on the top line of the window with the cursor resting on the
  335. character.  To find the next occurrence, select Next.  To display the first
  336. occurrence of the character in the file, select First.
  337.  
  338.  
  339. >> DEFINING COLUMNS <<
  340.  
  341. Columns are used to define the positions, or cells, within each line of the
  342. Input File that will be translated to the Output File.  Numeric data is
  343. translated only if included within the defined range of a column.  A column
  344. encompasses all lines in the Input File for the range specified.  A maximum
  345. of 256 columns can be defined in any one mask.  Columns cannot overlap.
  346.  
  347. To extract data from an Input File, columns must be defined.  You can
  348. specify column ranges using the cursor key on the Mask Screen, or use
  349. AutoImport's Auto-columns feature as a basis for definition of a mask.  You
  350. can also add columns or remove columns from an existing mask to suit a
  351. particular need.
  352.  
  353. After a the range of a column is defined, the type of cells that comprise
  354. each of the lines within a column's range can be specified.  The output
  355. sequence of columns can also be defined.
  356.  
  357.  
  358. MANUAL COLUMN DEFINITION
  359.  
  360. Columns may be defined by pointing to the start and stop positions of each
  361. individual column.  To define a column, move the cursor to the position at
  362. which the column should begin, select the Column Define option, move to the
  363. last position to be included in the column and press <Enter>.
  364.  
  365. When defining columns using this method, remember that columns cannot
  366. overlap.  If you wish to define a new column that overlaps an old column,
  367. you must first delete the old column.
  368.  
  369.  
  370. AUTOMATIC COLUMN DEFINITION
  371.  
  372. You can automatically define columns by simply selecting a line in the file
  373. for AutoImport to use as a pattern to establish column positions.  This
  374. method disregards all previous column specifications and defines columns
  375. for the entire length of the line used as a pattern.  To define columns
  376. using this method, place the cursor on the line to be used as the pattern. 
  377. Then select the Column Auto option.  The Input File will then be re-
  378. displayed with the new column definitions.
  379.  
  380. AutoImport can also be set to automatically define columns when an Input
  381. File is first displayed on the Mask Screen.  The columns are based on the
  382. patterns in the first screen of data displayed.  If the resulting columns
  383. are inappropriate (the complexities of some file structures may produce
  384. undesirable column definitions), you may want to modify the default
  385. definition.  The automatic column definition feature can be turned on by
  386. selecting the Sign-on Screen's Settings Auto-columns option.
  387.  
  388.  
  389. REMOVING COLUMNS
  390.  
  391. All columns or a specific column can be removed from the mask.  To remove
  392. all columns from the mask, select the Columns Undo All option.  To remove a
  393. specific column, move the cursor into the column and then select the
  394. Columns Undo One option.
  395.  
  396.  
  397. RESEQUENCING COLUMNS
  398.  
  399. When a mask is defined, AutoImport orders the columns according to the
  400. sequence in which they are displayed on the screen.  Default column order
  401. is A, B, C, D....  If this sequence does not put the information in the
  402. most usable order, you can resequence the columns.  For example, you could
  403. switch positions of column C and column A.  The new sequence would be C, B,
  404. A, D....  This option might be useful when the Output File will be a
  405. database file whose existing structure orders information differently from
  406. the Input File.  Columns can also be skipped (e.g., A, D, E, K).  To
  407. resequence a column, move the cursor into the column and select the Column
  408. Sequence option.
  409.  
  410.  
  411. SELECTING THE COLUMN'S CELL TYPES
  412.  
  413. The cells or fields that comprise each of the lines within a column's range
  414. can be defined as one of five types.  The type is selected from the Mask
  415. Screen by placing the cursor anywhere in the defined column and selecting
  416. Column Type, and then one of the types listed below.  The selection applies
  417. to all cells or fields in a particular column, except for lines treated as
  418. Titles or Headings.
  419.  
  420. NUMERIC   This is the default type AutoImport gives to cells or fields. 
  421.           The program will attempt to treat all the data in a cell of this
  422.           type as numeric values.  (To specify attributes such as currency
  423.           symbol, decimal position, and thousands separator, select the
  424.           Sign-on Screen's Settings International option.) If AutoImport
  425.           cannot translate the cells as numeric values, it will translate
  426.           them as labels.
  427.  
  428. LABEL     This type instructs AutoImport to translate the data in the cells
  429.           of a column as text characters.
  430.  
  431. SIGNED-OVERPUNCH
  432.           This type instructs AutoImport to convert cells in the column
  433.           that contain signed overpunch numbers into numeric values.  All
  434.           other cells in the column for the selected lines are translated
  435.           as labels.
  436.  
  437. DATE      This type instructs AutoImport to translate the cells in the
  438.           column as dates.  The format of the date must be specified when
  439.           the type of column is defined.  Eight formats are supported.  If
  440.           the program cannot translate the cells as dates, it will attempt
  441.           to translate them as numeric values, then as labels. 
  442.  
  443. TIME      This type instructs AutoImport to translate the cells in the
  444.           column as the time of day.  The time is translated to a decimal
  445.           number between 0 and 1.  0 indicates midnight, and .5 indicates
  446.           noon.  Spreadsheets will show this number as a time.  If the
  447.           program cannot translate the cells as times, it will attempt to
  448.           translate them as numeric values, then as labels.
  449.  
  450. AutoImport interprets and recognizes the formatting used for decimal
  451. separators, thousand separators, currency, dates, and signed overpunch
  452. numbers.  How AutoImport interprets and recognizes these formats is
  453. specified by selections made from the Sign-on Screen's Settings menu.
  454.  
  455.  
  456. FILLING BLANK CELLS WITHIN A COLUMN
  457.  
  458. Some Input Files do not repeat information in a column unless it changes. 
  459. For example, in a listing of salespersons, the column indicating the region
  460. in which the person works is included only for the first salesperson.  Only
  461. when the region changes does the file list the new region.  To tell
  462. AutoImport to fill all the blanks in the column with the most current
  463. information, select the Column Blank Duplicate option.
  464.  
  465.  
  466. ADDING INFORMATION FROM HEADINGS INTO COLUMNS
  467.  
  468. Information from headings can be output as columns.  During translation,
  469. each output line is "tagged" with the selected information from the
  470. headings.  This information is called a Line Tag.
  471.  
  472. You tell AutoImport where to find the Line Tag information by first
  473. defining a match string that is used as a Reference Point, and then
  474. defining the relative position of the Line Tag information to the Reference
  475. Point.  The information in Line Tag columns is repeated on each output line
  476. until the Line Tag information is refreshed, by encountering another line
  477. that contains the Reference Point match string.  Columns defined by the use
  478. of Line Tags precede the normally defined columns in the Output File.
  479.  
  480. For example, if the Input File contains a date in the heading of each page,
  481. the date can be inserted on every output line.  By defining a Reference
  482. Point and then the date as a Line Tag, every time the program encounters
  483. another occurrence of the Reference Point during translation, the next date
  484. will be output as the Line Tag.
  485.  
  486. To use information tags, first define the Reference Point match string,
  487. then define the Line Tags associated with the Reference Point.  Up to five
  488. Reference Point match strings can be defined.  When a Line Tag is defined,
  489. it is associated with the closest Reference Point occurring before the tag. 
  490.  
  491.  
  492. All Line Tag column letters are assigned prior to those of the normally
  493. defined columns.  Line Tags are assigned column letters sequentially, in
  494. the order of their definition for each Reference Point.
  495.  
  496. Options that can be selected for a normally defined column can also be
  497. selected for a column defined by use of Line Tags.  This includes selecting
  498. the Type, Name, and @Function.
  499.  
  500. NOTE:   Because the sequencing of Line Tag columns is limited, it is often
  501. useful to perform two translations with AutoImport when using Line Tags. 
  502. The first translation should create a print image Output File using the
  503. Files Output Type Text Prn option.  This print image file should then be
  504. loaded into the Mask Screen as the Input File.  The Line Tag columns that
  505. are added on the left side of the original file can then be sequenced as
  506. any normal column using the Column Sequence option.
  507.  
  508.  
  509. ASSIGNING DATABASE FIELD NAMES TO COLUMNS
  510.  
  511. When creating a new database or mail merge Output File, the AutoImport
  512. column names are used as the field names.  The column names initially
  513. default to be the column letters.  The column names can be changed by
  514. moving the cursor into the column, selecting the Column Name option, and
  515. entering a new name.
  516.  
  517. After the column name is entered, the column indicator bar above the Input
  518. File display window will include the column letter and the column name. 
  519. For example, if column B is named "CITY" the column indicator bar will
  520. display "BCITY" above the column.
  521.  
  522.  
  523. ADJUSTING COLUMN WIDTHS GLOBALLY
  524.  
  525. To display a numeric value, spreadsheets require that the width of the
  526. column is one position wider than the number to be displayed.  If the
  527. column is the same width as the number, asterisks (*) will be displayed. 
  528. To ensure that numeric values are properly displayed, the widths of all
  529. columns in a file can be widened by one character when translated with the
  530. Global Adjust-Widths option.  This feature is useful if the Input File does
  531. not have spaces between the columns of data.
  532.  
  533.  
  534. >> SELECTING LINES FOR OUTPUT <<
  535.  
  536. Lines are the horizontal rows of data.  In the upper left hand corner, the
  537. Mask Screen displays the line number on which the cursor rests.  Lines are
  538. numbered sequentially from the beginning of the file.
  539.  
  540. There are three ways to select lines for output.  The default Global Mode
  541. Value setting can be used to output all lines.  A particular line treatment
  542. can be manually specified on a line-by-line basis.  Or, lines containing a
  543. specified string of characters can be automatically output.
  544.  
  545.  
  546. MANUALLY SELECTING LINES BY USING TREATMENTS
  547.  
  548. A particular line treatment can be specified for each line in an Input
  549. File.  The following line treatments select lines for output and specifies
  550. how the information in the columns on the line will be translated:
  551.  
  552. VALUE          The data within the columns on each Value Line is translated
  553.                according to the column type.  On a color monitor, numeric
  554.                data is displayed with a dark blue background, text with a
  555.                magenta background, dates with a green background, and times
  556.                with a brown background.
  557.  
  558. HEADING        The data within the columns on each Heading Line is
  559.                translated as text or labels (non-numeric).  On a color
  560.                monitor, the data is displayed with a magenta background. 
  561.                Notice that lines defined as heading include only data in
  562.                defined column ranges, not data for the entire line.  To
  563.                include the entire line, see the Title treatment below.
  564.  
  565. TITLE          The entire line is translated as a single text string or
  566.                label (non-numeric).  Column definitions are ignored.  On a
  567.                color monitor, the entire line is displayed with a red
  568.                background.
  569.  
  570.  
  571. GLOBAL MODE VALUE
  572.  
  573. When an Input File is loaded in the Mask Screen, all lines are selected to
  574. be translated as Values.  In Global Mode Value, which is the default mode,
  575. you can skip the lines, or exclude the lines you don't want included, based
  576. on a string of characters.  AutoImport can also be used in Global Mode
  577. Skip, in which no lines are initially selected and you indicate the lines
  578. you want to include.
  579.  
  580. In Global Mode Value, Include Lines have precedence over Exclude Lines. 
  581. That is, if an include match string occurs in an Exclude Lines' range, the
  582. Include Lines will be translated.  In Global Mode Skip, Exclude Lines have
  583. precedence over Include Lines.
  584.  
  585.  
  586. AUTOMATICALLY INCLUDING LINES WITH MATCH STRINGS
  587.  
  588. AutoImport can be instructed to include all lines for translation that
  589. contain a specified match string.  The match string can be a specific
  590. string of characters, or a pattern string that contains wildcard
  591. characters.  This feature (usually combined with Global Mode Skip), is
  592. useful when selecting specific lines that all contain common information,
  593. or a range of lines from the line containing the specified string of
  594. characters.
  595.  
  596. Lines included in this way are translated in the same way as Value Lines. 
  597. A line already treated as a Title or a Heading containing the specified
  598. string is not affected by the use of the Include Line feature, they are
  599. always output.
  600.  
  601. To include lines, examine the lines that are to be selected, and identify a
  602. string of characters or a pattern unique to these lines.  Position the
  603. cursor on the first character of the string, select the Include Line
  604. option, move the cursor to the right, until all the characters in the
  605. string are highlighted, and press <Enter>.  The program will prompt with
  606. Exact-match or Pattern-match.
  607.  
  608. If Exact-match is selected, the program will then prompt with Positional or
  609. Not-positional.  Select Positional if the lines should be included only
  610. when the string is found at the current position in the line.  Select Not-
  611. positional if the line should be included if the string is found at any
  612. position in the line.
  613.  
  614. If Pattern-match is selected, AutoImport displays the highlighted string
  615. for editing.  The following wildcard characters are used to define the
  616. characters allowed in each position.  All other characters in the pattern
  617. match string require that character at that position.  Edit the string. 
  618. Press <Enter>.
  619.  
  620.      ^ (caret)           Any number (0 through 9)
  621.      ! (exclamation)     Any character except 0 through 9
  622.      ~ (tilde)           Any character except blank
  623.      _ (underscore)      Any character including blank
  624.  
  625. You are also prompted to specify how many lines, including the one in which
  626. the cursor rests, are to be included in the translation.
  627.  
  628. An "I" in the left margin of each line that contains the specified string
  629. will indicate that the lines will be included in translation.
  630.  
  631. You may manually confirm the Include Lines that are to be sent to the
  632. Output File during translation.  To manually confirm Include Lines, select
  633. the Translation Screen's Confirm option before running the translation. 
  634. Each time an Include Line is encountered during the translation, the
  635. program will pause and prompt for the line's inclusion.
  636.  
  637.  
  638. UNDOING AN INCLUDE LINE SELECTION
  639.  
  640. To undo an operation that has defined an Include Line, from the Mask
  641. Screen, display the menu and select Include Undo.  Use the Next and
  642. Previous options to display the Include Line strings currently defined. 
  643. When the desired string is displayed, select the Stop-including-this-one
  644. option.
  645.  
  646.  
  647. INSERTING AND DELETING LINE TREATMENTS
  648.  
  649. Once defined, a mask may be used numerous times to translate different
  650. Input Files with the same structure.  This is frequently the case when
  651. reports are regularly issued from a host system using the same format; the
  652. Input File you work with will be the same as the previous one, so you don't
  653. have to create a new mask.  However, if the Input File changes slightly or
  654. the segments of the Input File structure are altered, you can easily modify
  655. the mask without extensive redefinition.
  656.  
  657. For example, to extract the sales activities of stores in a specific region
  658. from an alphabetical report that lists all stores, you can use a mask that
  659. selects and skips stores based on the line position of the stores you want. 
  660. When a new store is added to the report of all stores, and it is not in the
  661. region in which you are interested, you can simply modify the existing mask
  662. definition by inserting line treatments for the lines containing the sales
  663. figures of the new store.  In the same way, you can delete line treatments
  664. to match changes to the Input File.
  665.  
  666.  
  667. RESTORING THE DEFAULT LINE TREATMENT
  668.  
  669. To restore the setting for a range of lines to the default (global value or
  670. skip) mode, position the cursor on the first line to be restored to the
  671. default treatment and select the Line Mode-default option.  Then move the
  672. cursor down to the last line whose treatment is to be restored to the
  673. default treatment, and press <Enter>.
  674.  
  675.  
  676. >> EXCLUDING LINES FROM OUTPUT <<
  677.  
  678. There are four ways to exclude lines from output.  The default Global Mode
  679. Skip setting can be used to exclude all lines.  A particular line treatment
  680. can be manually specified on a line-by-line basis.  Lines containing a
  681. specified string of characters can be automatically excluded.  Or, lines
  682. can be excluded from translation that contain values in designated columns
  683. that are lower or higher than specified limits.
  684.  
  685.  
  686. MANUALLY EXCLUDING LINES BY USING TREATMENTS
  687.  
  688. A particular line treatment can be specified for each line in an Input
  689. File.  The following line treatments exclude lines from output:
  690.  
  691. SKIP           The line is not sent to the Output File during translation. 
  692.                The entire line is displayed with a black background.
  693.  
  694. ABORT          This line signals AutoImport to halt translation of the
  695.                Input File, and close the Output File.  This is useful when
  696.                you know that you only want the first part of a long file.
  697.  
  698.  
  699. AUTOMATICALLY EXCLUDING LINES WITH MATCH STRINGS
  700.  
  701. AutoImport can be instructed to exclude all lines from translation that
  702. contain a specified match string.  The match string can be a specific
  703. string of characters, or a pattern string that contains wildcard
  704. characters.  This feature (usually combined with Global Mode Value), is
  705. useful when excluding specific lines that all contain common information,
  706. or a range of lines from the line containing the specified string of
  707. characters.  This feature can also be used to exclude recurring page titles
  708. and headers from translation into the Output File.
  709.  
  710. Lines excluded in this way are treated in the same way as Skip Lines.  A
  711. line already treated as a Title or a Heading containing the specified
  712. string is not excluded by the use of the Exclude Line feature.  This
  713. permits sending a single occurrence (i.e.  the first) of the lines
  714. containing the specified string to the Output File, while skipping all
  715. other occurrences.
  716.  
  717. To exclude lines, examine the lines that are to be ignored, and identify a
  718. string of characters or a pattern unique to these lines.  Position the
  719. cursor on the first character of the string, select the Exclude Line
  720. option, move the cursor to the right, until all the characters in the
  721. string are highlighted, and press <Enter>.  The program will prompt with
  722. Exact-match or Pattern-match.
  723.  
  724. If Exact-match is selected, the program will then prompt with Positional or
  725. Not-positional.  Select Positional if the lines should be excluded only
  726. when the string is found at the current position in the line.  Select Not-
  727. positional if the line should be excluded if the string is found at any
  728. position in the line.
  729.  
  730. If Pattern-match is selected, AutoImport displays the highlighted string
  731. for editing.  The following wildcard characters are used to define the
  732. characters allowed in each position.  All other characters in the pattern
  733. match string require that character at that position.  Edit the string. 
  734. Press <Enter>.
  735.  
  736.      ^ (caret)           Any number (0 through 9)
  737.      ! (exclamation)     Any character except 0 through 9
  738.      ~ (tilde)           Any character except blank
  739.      _ (underscore)      Any character including blank
  740.  
  741. You are also prompted to specify how many lines, including the one in which
  742. the cursor rests, are to be excluded in the translation.
  743.  
  744. The file will be re-displayed with the lines to be excluded marked with an
  745. "E" on the left side of the screen.
  746.  
  747. You may manually confirm the Exclude Lines that are to be ignored during
  748. translation.  To manually confirm Exclude Lines, select the Translation
  749. Screen's Confirm option before running the translation.  Each time an
  750. Exclude Line is encountered during the translation, the program will pause
  751. and prompt for the line's exclusion.
  752.  
  753.  
  754. UNDOING AN EXCLUDE LINE SELECTION
  755.  
  756. To undo an operation that has defined an Exclude Line, from the Mask
  757. Screen, select the Exclude Undo Line option.  Use the Next and Previous
  758. options to display the Exclude Line strings currently defined.  When the
  759. desired string is displayed, select the Stop-excluding-this-one option.
  760.  
  761.  
  762. AUTOMATICALLY EXCLUDING LINES BY SETTING LIMITS IN COLUMNS
  763.  
  764. Lines can be excluded from translation that contain values in designated
  765. columns that are lower or higher than specified limits.  After a column is
  766. defined, limits are set by selecting the Column Limits option and entering
  767. either an upper limit, a lower limit, or both.  How AutoImport prompts for
  768. limits is dependent on the column type; numeric, label, date, or time.
  769.  
  770. Lines with values in the column that are higher or lower than the limits
  771. are displayed with a black background.  An uppercase "E" also appears in
  772. the left margin to indicate that the line is Excluded.
  773.  
  774. A line is tested for limits only if the line treatment is Global Mode Value
  775. as indicated by a lowercase "v" in the left margin, or if the line is
  776. Included as indicated by an either an uppercase "I" or a lowercase "i" in
  777. the left margin.
  778.  
  779. If the column type is changed, the limits for the column are eliminated. 
  780. To eliminate or undo the test for limits in a column, delete the limits
  781. entered in the column by selecting the Column Limits option and using the
  782. <Delete> key to blank out the limits.
  783.  
  784.  
  785. EXCLUDING BLANK LINES
  786.  
  787. To remove all blank lines in an Input File, select the Exclude Blank-lines
  788. option.  The current selection is indicated as either Yes or No (default). 
  789. Select Yes to exclude blank lines, No to include blank lines.
  790.  
  791.  
  792. EXCLUDING DUPLICATE LINES
  793.  
  794. Excludes the output of a line that is exactly the same as the preceding
  795. line.  Some programs print a line, perform a carriage return without a line
  796. feed, and print the line again.  This results in "bold" print that is used
  797. for emphasizing titles and headings on reports.  The Exclude Duplicate-
  798. lines option removes the second line of print from this style of report.
  799.  
  800.  
  801.  
  802. >> ADDING FORMULAS TO THE OUTPUT <<
  803.  
  804. AutoImport can include rows of formulas in spreadsheet Output File types. 
  805. These formula rows can either replace existing rows in the Input File, or
  806. they can be additional rows that are output.  Formula rows can be selected
  807. for output either when the information in a specific column changes, or a
  808. character string is matched.
  809.  
  810. The default formulas that are output are the @Sum function for numeric
  811. columns, @Count function for label columns, and no formulas for date
  812. columns or time columns.  Available functions for formulas are Sum, Count
  813. and Average.  To change the type of @function that is output in a column,
  814. use the Column @Function option.
  815.  
  816. An "@" symbol is displayed on the top left edge of the column indicator bar
  817. whenever an @Formula option is selected.
  818.  
  819.  
  820. INSERTING FORMULA ROWS BASED ON A COLUMN CHANGE
  821.  
  822. Formula cells can be inserted into the output each time the character
  823. contents of a non-blank cell in a specified column changes.  The column to
  824. be tested for a change in contents can be a normally defined column or a
  825. Line Tag column.
  826.  
  827. This option is useful when the Input File is a list of records in a sorted
  828. order without subtotals.  By selecting the @Formula Column-change option
  829. and specifying the column to test for a change in contents, AutoImport
  830. inserts a row of Formula cells in the output spreadsheet.
  831.  
  832. A dashed line is output before, and a blank line is output after, the
  833. formula line.  This formatting makes it easy to determine where AutoImport
  834. has inserted formulas.
  835.  
  836.  
  837. INSERTING FORMULA ROWS USING A MATCH STRING
  838.  
  839. A row of formula cells can be inserted into the output each time a
  840. specified match string is encountered during translation.  The match string
  841. can be defined to require an exact match, or a pattern match using wildcard
  842. characters.
  843.  
  844. This option is useful when a report has groups of information without
  845. subtotals that is either on different pages, or is separated by headings. 
  846. AutoImport can be instructed to insert formula cells in rows before each
  847. new page or heading.
  848.  
  849. To insert formulas based on a match string, move the cursor to the first
  850. position in the string, select @Formula Insert-on-match, highlight the
  851. remainder of the string and press <Enter>.  If the match string is always
  852. the same character sequence, select Exact-match, and then select either
  853. Positional or Not-positional.  To define a pattern of characters, select
  854. Pattern-match, edit the string by including the appropriate wildcard
  855. characters and press <Enter>.
  856.  
  857.  
  858. REPLACING LINES WITH FORMULA ROWS
  859.  
  860. A row of formula cells can replace the cell contents of an output line each
  861. time a specified match string is encountered during translation.  The match
  862. string can be defined to require an exact match, or allow for a pattern
  863. match using wildcard characters.
  864.  
  865. Many reports already contain totals.  The @Formula Replace-on-match option
  866. can be used to replace the literal totals with the formulas for the totals. 
  867. This facilitates "what if" analysis in spreadsheets by showing the new
  868. total after a change is made to a detail line.
  869.  
  870.  
  871. >> CONTROLLING PLACEMENT IN THE OUTPUT FILE <<
  872.  
  873. There are several options that provide for specific placement of
  874. information in an Output File.  The sequence in which columns are output
  875. can be controlled with the Column Sequence option.  The Files Output
  876. Existing-output options of Replace, Append, and File-combine control how
  877. AutoImport handles data in existing Output Files during translation.
  878.  
  879. In addition, the starting cell for output into spreadsheets, and the row
  880. and column orientation (rotation of line/column aspects) of the Output File
  881. can be controlled.
  882.  
  883.  
  884. CHANGING THE SPREADSHEET'S STARTING CELL
  885.  
  886. By default, AutoImport uses cell address A1 (first column, first row) as
  887. the starting position for output into a spreadsheet.  By changing this
  888. starting position you can offset the first cell address used for output. 
  889. For example, if the existing spreadsheet includes four columns (A, B, C,
  890. and D), you can offset the starting cell to define the three columns in the
  891. Input File to be output as columns E, F, and G in the existing Output File.
  892.  
  893. To reposition the starting cell, select the Global Starting-cell option. 
  894. Changing the starting cell from A1 to B1 would redefine columns A and B to
  895. B and C.  Likewise, changing the starting cell from A1 to A30 would start
  896. placement in the output spreadsheet at row 30.
  897.  
  898. This is useful for translation of a file whose output will be combined with
  899. the information in an existing spreadsheet.  When file combining,
  900. information in the rows and columns of an existing spreadsheet that occur
  901. before the starting cell are not changed during translation.
  902.  
  903.  
  904. TRANSPOSING COLUMNS AND LINES
  905.  
  906. For output used with a spreadsheet, AutoImport can transpose columns and
  907. lines.  That is, data displayed as columns in the Mask Screen will be
  908. output as lines, and vice versa.  If this option is selected, column widths
  909. defined in the mask are not used during translation.  Data appended to or
  910. combined with an existing spreadsheet file will be in the columns already
  911. defined.  An Output File opened as a new worksheet will be displayed using
  912. the spreadsheet program's default column width.
  913.  
  914.  
  915. >> REMOVING PRINTER CONTROL CODES <<
  916.  
  917. If the Input File is a report downloaded from another computer, or output
  918. from another PC program, the Input File may contain printer control codes
  919. (ASCII characters 0 through 31).  These codes are typically used by
  920. printers for controlling line spacing, condensed print, emphasized print
  921. and other features that control how text is printed.  When the Input File
  922. is displayed on the Mask Screen, the control codes usually interfere with
  923. the display of the file causing misalignment of the columns of numbers.
  924.  
  925. AutoImport can remove printer control codes that are single characters,
  926. escape sequences, page ejects, and line printer carriage control columns. 
  927. After the control codes are removed, the Input File is redisplayed on the
  928. Mask Screen without the control characters.
  929.  
  930.  
  931. SEARCHING FOR PRINTER CONTROL CODES
  932.  
  933. Control codes, the ASCII values 0-31, are generally used for printer
  934. formatting and communications control.  AutoImport will display these codes
  935. as graphics characters, ASCII 200-231.  To find occurrences of control
  936. codes, select the Search Control-codes option.  To display the first
  937. occurrence of any of the control codes, select First.  To find the next
  938. occurrence, select Next.
  939.  
  940.  
  941. EXCLUDING ALL SINGLE CHARACTER PRINTER CONTROL CODES
  942.  
  943. All single character control codes can be removed with the Exclude Special-
  944. characters option.  This option removes all ASCII characters with codes of
  945. 0 through 31 except for the escape character (ASCII 27).
  946.  
  947.  
  948. EXCLUDING ESCAPE SEQUENCES
  949.  
  950. Escape sequences are a string of two or more characters beginning with the
  951. escape character (ASCII 27) that provide control instructions to a printer. 
  952. To remove an escape sequence, or any other string of characters, move the
  953. cursor to the first character of the string to be ignored.  Select the
  954. Exclude Characters option.  Then, move the cursor to the right,
  955. highlighting the desired characters and press <Enter>.  AutoImport will
  956. prompt for an optional replacement string.  If the highlighted string is
  957. simply to be ignored, do not provide a replacement string.
  958.  
  959.  
  960. FIRST POSITION CARRIAGE CONTROL
  961.  
  962. Carriage control characters are another type of printer control that is
  963. included in reports created by some programming languages on certain
  964. computers.  FORTRAN, for example, uses the first column of each line to
  965. indicate line feeds and form feeds to the printer.
  966.  
  967. To ignore the carriage control character, select the Exclude First-
  968. positions option.  The current setting of the number of positions to skip
  969. at the beginning of each line is displayed.  Type in the number of
  970. character positions to ignore.  The file will then be re-displayed with
  971. these positions removed.
  972.  
  973.  
  974. >> Shortcut Function Key Operations <<
  975.  
  976. The function keys labelled F1 to F10 are used for frequently-performed
  977. operations and menu selections while at the Mask Screen.  Using these
  978. "shortcut" keys saves time in defining a mask.
  979.  
  980. Pressing the following function keys at the Mask Screen while in the Ready
  981. mode performs the described operations.
  982.  
  983. F1   Displays the Help screen.
  984.  
  985. F2   The same as pressing  / Column Define.
  986.  
  987. F3   Prompts for a line number at which to begin display of the mask       
  988.      and the Input File.
  989.  
  990. F4   The same as pressing / Column Undo One.
  991.  
  992. F5   The same as pressing / Line Skip.
  993.  
  994. F6   The same as pressing / Line Heading.
  995.  
  996. F7   The same as pressing / Line Value.
  997.  
  998. F8   The same as pressing / Line Title.
  999.  
  1000. F9   The same as pressing / Search First.
  1001.  
  1002. F10  The same as pressing / Search Next.
  1003.  
  1004.  
  1005. >> LISTING MASK SETTINGS AND SELECTIONS <<
  1006.  
  1007. AutoImport allows you to print the settings defined in your mask.  The
  1008. printed list of settings can be very helpful when trying to determine why
  1009. the results of a translation are not as expected.  The list is also useful
  1010. for documenting the settings, in case the Mask File is lost or damaged. 
  1011. These settings include the file names, global mode, Include Lines, Exclude
  1012. Lines, column types, Reference Points, and Line Tags.
  1013.  
  1014. The settings will be listed to the currently-selected printer.  Printer
  1015. selection can be changed from the Sign-on Screen's Settings Printer option.
  1016.  
  1017. The first line of the report indicates the date and time that the report
  1018. was printed.  The next section gives information about the Mask File, Input
  1019. File, and Output File.  The Settings section reports the global mode,
  1020. whether blank lines or form feeds are excluded, the starting cell, and
  1021. other significant definitions of the mask.
  1022.  
  1023. The next section reports the number of columns in the mask.  It also
  1024. provides the column letter, starting position, width, type, name, and
  1025. whether the non-blank information should be duplicated into blank cells.
  1026.  
  1027. If any Include Strings or Exclude Strings are defined, the report lists the
  1028. type and the number of each defined.  Also shown are the number of lines to
  1029. be included or excluded when the string is encountered at the defined
  1030. position.
  1031.  
  1032. If any Exclude Characters are defined, the report lists the string and the
  1033. ASCII code for each of the characters.  The ASCII code is a number between
  1034. 0 and 255 decimal.
  1035.  
  1036. The final item reported is whether any Reference Points have been declared,
  1037. the Reference Point strings, and any Line Tags defined.  The column letter,
  1038. position, and type for each tag are displayed.
  1039.  
  1040. Because as many as 16384 line treatments can be defined, line treatments
  1041. are not reported.  These can be viewed only from the Mask Screen.
  1042.  
  1043.  
  1044.  
  1045. SETTING HOW AUTOIMPORT RECOGNIZES NUMBERS AND DATES ----------------------
  1046.  
  1047. AutoImport recognizes many of the methods used to express numbers and dates
  1048. in the United States and in many other countries.
  1049.  
  1050.  
  1051. >> RECOGNIZING NUMBERS <<
  1052.  
  1053. AutoImport understands how numbers are represented on reports and
  1054. translates them correctly into the Output File.  It understands that
  1055. negative numbers can be represented several ways, either with a minus sign
  1056. before or after the number, or with a CR or DR next to the number (credits
  1057. and debits).  AutoImport can also be instructed to recognize numbers that
  1058. use a signed overpunch scheme for representing positive and negative
  1059. values.
  1060.  
  1061. It understands that a percent sign indicates the number should be divided
  1062. by 100.  It even handles subtotals that are marked with asterisks. 
  1063. AutoImport can also translate numbers that are expressed in scientific
  1064. notation.
  1065.  
  1066. Computer systems in the U.S. use the dollar sign ($) to express currency, a
  1067. period (.) to indicate the decimal point, and a comma (,) as the thousands
  1068. separator.  AutoImport can be instructed to use other symbols for
  1069. recognizing currency, thousands and decimals, as explained below.
  1070.  
  1071.  
  1072. CURRENCY SYMBOL
  1073.  
  1074. To change the character recognized as the currency symbol, select the Sign-
  1075. on Screen's Settings International Currency option.  If the symbol can be
  1076. typed directly from the keyboard, select Key and press the appropriate key. 
  1077. The current setting for the currency symbol is displayed.
  1078.  
  1079. If the symbol you wish to use is not on your keyboard, select ASCII-code
  1080. and enter the ASCII value for the symbol (e.g.  British Pound Sterling:
  1081. 156, Japanese Yen: 157).  To check your entry select the Settings
  1082. International Currency Key option, and look at the symbol that is
  1083. displayed.
  1084.  
  1085.  
  1086. THOUSANDS SEPARATOR SYMBOL
  1087.  
  1088. The symbol for separating thousands in the U.S. is the comma; also used in
  1089. other countries are the period and the space.  To select one of these three
  1090. symbols, select the Sign-on Screen's Settings International Thousands
  1091. option.  The current setting for the thousands separator is displayed. 
  1092. Move the cursor to the symbol you wish to use and press <Enter>.
  1093.  
  1094.  
  1095. DECIMAL POINT SYMBOL
  1096.  
  1097. The symbol for separating the fractional or decimal part of a number from
  1098. the integer portion of a number can be defined as either the period or the
  1099. comma.  To select one of these two symbols, select the Sign-on Screen's
  1100. Settings International Point option.  The current setting is displayed. 
  1101. Move the cursor to the desired symbol and press <Enter>.
  1102.  
  1103.  
  1104. SIGNED OVERPUNCH TECHNIQUE
  1105.  
  1106. By assigning special characters to either the first or last digit of a
  1107. number, a program can indicate whether a number is positive or negative. 
  1108. This helps conserve file space; rather than outputing the minus sign, it is
  1109. "coded" into the number as a signed overpunch technique.
  1110.  
  1111. To specify the characters used to indicate the sign of the number, select
  1112. the Sign-on Screen's Settings Signed-overpunch Characters option. 
  1113. AutoImport provides three options for designating the characters that are
  1114. used to indicate that a number is positive or negative:
  1115.  
  1116.     0 - 9 as positive, } - R as negative
  1117.  
  1118.     { - I as positive, } - R as negative
  1119.  
  1120.     Custom (user-defined)
  1121.  
  1122. One of the first two options translates the majority of Input Files using
  1123. signed overpunch correctly.  Selecting the Custom option displays all 20
  1124. possible digits and the current character assignment.  To create a custom
  1125. format, change the characters to match those used in the Input File and
  1126. save this setting by pressing <F10>.
  1127.  
  1128. AutoImport can use either the leading (first position) or trailing (last
  1129. position) digit of a number as the signed overpunch.  To check or change
  1130. the setting, select the Sign-on Screen's Settings Signed-overpunch Position
  1131. option.  The default is the trailing position.
  1132.  
  1133.  
  1134. >> RECOGNIZING DATES <<
  1135.  
  1136. By default, AutoImport recognizes dates which contain characters that
  1137. separate the month, day and year portions of the date.  For dates which
  1138. contain no separator characters, a user-defined format can be defined that
  1139. specifies the positions in a string that contain the month, day and year.
  1140.  
  1141. For dates that contain two digits for the year, the cutoff date that
  1142. divides 19xx from 20xx can be defined.  The spellings of the month names
  1143. can also be defined for working with files from countries that do not use
  1144. the English spellings.
  1145.  
  1146.  
  1147. RECOGNIZING DATES WITHOUT SEPARATORS
  1148.  
  1149. AutoImport recognizes 7 standard date formats, and 1 custom format defined
  1150. by the user.  The standard formats assume that the month, day, and year are
  1151. separated by a space or a separator character ( / - : , etc.).  The custom
  1152. format is used when there are no separators.
  1153.  
  1154. To define the custom date format, select the Sign-on Screen's Settings Date
  1155. Custom option.  Type in the format string using the letters D, M and Y as
  1156. positional indicators for the day, month and year.
  1157.  
  1158.  
  1159. YEAR FORMATS
  1160.  
  1161. Most dates that represent years with two digits assume that the year is
  1162. 19xx (or the twentieth century).  However, in some files such as a
  1163. worksheet set up to calculate maturity dates of bonds, the date 11/25/55
  1164. could mean 1955 or 2055.  To define the two digit year that is the cutoff
  1165. between 19xx and 20xx, select the Sign-on Screen's Settings Date Year
  1166. option.
  1167.  
  1168.  
  1169. MONTH NAME SPELLINGS
  1170.  
  1171. AutoImport recognizes the standard U.S. spellings of the names of the
  1172. months, but it can also be instructed to recognize different spellings,
  1173. such as the German spelling of October as "Oktober".  To specify the
  1174. spellings of the month names, select the Sign-on Screen's Settings
  1175. International Month-names option.
  1176.  
  1177.  
  1178.  
  1179. TRANSLATING FILES --------------------------------------------------------
  1180.  
  1181. Translation of data from the Input File to the Output File is initiated and
  1182. controlled from the Translation Screen.  To display the Translation Screen,
  1183. select the Sign-on Screen's Translate option.
  1184.  
  1185. Before an Input File can be translated, a mask must have been defined and
  1186. saved as a file.  Information about the Input File and the Output File to
  1187. be created by the translation process can be specified from either the Mask
  1188. Screen or the Translation Screen.
  1189.  
  1190. Translations can also be initiated from the DOS prompt using a command line
  1191. or as part of a .BAT file.
  1192.  
  1193.  
  1194. >> Selecting the Mask Used for Translation <<
  1195.  
  1196. When the Translation Screen is initially displayed, the last mask that was
  1197. either saved on the Mask Screen or used in a translation is automatically
  1198. selected.  Information about the mask is displayed on the screen.
  1199.  
  1200. To use another mask for translation, select the Mask Retrieve option.  Then
  1201. select either List to point to the Mask File, or Type-in to manually enter
  1202. the file name.  To change the currently selected directory for masks,
  1203. select the Mask Directory option.
  1204.  
  1205.  
  1206. >> CHANGING MASK SETTINGS ON THE TRANSLATION SCREEN
  1207.  
  1208. Several of the Mask Screen's settings can be temporarily or permanently
  1209. overridden by options selected from the Translation Screen.  The Input
  1210. File, Output File, translation type, and the handling of existing output
  1211. files can be changed.  When settings are changed for these options, they
  1212. are displayed on the Translation Screen.
  1213.  
  1214. The changes are used only for this translation unless the mask is saved. 
  1215. Saving the mask permanently changes the settings in the Mask File.  To save
  1216. the mask from the Translation Screen, select the Mask Save option.
  1217.  
  1218.  
  1219. >> DISPLAYING THE FILE DURING TRANSLATION <<
  1220.  
  1221. Translation can be performed with or without displaying the Input File.  To
  1222. specify your choice, at the Translation Screen, select Display.  The
  1223. current selection is indicated as either Yes or No.  Select Yes to display
  1224. the Input File during translation or No to inhibit display during
  1225. translation.
  1226.  
  1227.  
  1228. >> CONFIRMING INCLUDE/EXCLUDE LINES DURING TRANSLATION <<
  1229.  
  1230. During translation, Include Line and Exclude Line selections may be
  1231. manually confirmed on a line-by-line basis.  To specify manual
  1232. confirmation, at the Translation Screen, select Confirm.  The current
  1233. setting is indicated as either Yes or No.  Select Yes to permit
  1234. confirmation of all Include and Exclude Lines during the translation
  1235. process.  This must be done each time before translation; the mask does not
  1236. save the confirm selection.  Selecting confirmation also sets the Display
  1237. of the file during the translation to Yes.
  1238.  
  1239.  
  1240. >> PERFORMING THE TRANSLATION <<
  1241.  
  1242. After the proper Mask File is selected and the other information on the
  1243. screen is correct, select the Go option to start the translation.  If a
  1244. file already exists that has the same name as the Output File and Existing-
  1245. output Warning is selected (the default selection), AutoImport prompts for
  1246. Cancel, Replace, Append or File-combine.
  1247.  
  1248. If the Display option is set to Yes, the Progress Screen is displayed. 
  1249. This screen displays the selected lines of the Input File as they are being
  1250. translated.
  1251.  
  1252.  
  1253.  
  1254. SPECIAL CONSIDERATIONS FOR TRANSLATING DATABASE FILES --------------------
  1255.  
  1256. Database files contain a database structure that provides information used
  1257. by the database program to locate, store, and organize the data.  The
  1258. structure contains information such as field names, field lengths, and
  1259. field types.  This information is written to the database file when it is
  1260. created.
  1261.  
  1262. If the database file exists, AutoImport uses the current database
  1263. structure.  If the file does not exist, AutoImport automatically creates a
  1264. structure.  It is recommended that the database management system is used
  1265. to create the Output File with the desired database structure.
  1266.  
  1267.  
  1268. >> RELATIONSHIP BETWEEN COLUMNS AND FIELDS <<
  1269.  
  1270. A field serves much the same function in a database that a column does in a
  1271. worksheet.  The information in a defined column will be sent to the
  1272. corresponding field in the database file.  For example, information in
  1273. column A will go to the first field, column B's data will go to the second,
  1274. etc.
  1275.  
  1276.  
  1277. >> DISPLAYING THE DATABASE STRUCTURE <<
  1278.  
  1279. AutoImport offers two ways of displaying the structure of an existing
  1280. database file.  Both methods show field name, length, type, and the column
  1281. letter that corresponds to the field in the mask.
  1282.  
  1283. For a screen display of the structure select the Mask Screen's Files Output
  1284. Type Database option and specify the type of database file.  Then, select
  1285. Files Output Database-Structure.  The database structure of the Output File
  1286. will be displayed along with the column settings defined in the mask.
  1287.  
  1288. To output the structure to a file, from the Utilities Screen, select the
  1289. Function Header option, and the database file as the Input File.  Select Go
  1290. and the database structure (header) will be written to a file.  This file
  1291. can be displayed on the screen or printed.
  1292.  
  1293.  
  1294. >> TRANSLATION WHEN A DATABASE STRUCTURE EXISTS <<
  1295.  
  1296. CAUTION: If there are any indexes associated with a database, they must be
  1297. re-indexed following a translation to the database file.  AutoImport does
  1298. not update indexes when it performs a database translation.
  1299.  
  1300. AutoImport retains all characteristics of a database structure during a
  1301. translation.  If more columns have been defined than existing fields in the
  1302. database, the information in the columns not associated with a field is not
  1303. output.  If fewer columns have been defined than fields in the database,
  1304. some fields will remain blank.
  1305.  
  1306. When instructed to perform a translation into a database file, AutoImport
  1307. verifies that the Output File exists.  If the file exists, you can specify
  1308. that AutoImport either appends to the file by keeping the current records
  1309. and adding new records, or completely replaces the records already in the
  1310. file.
  1311.  
  1312.  
  1313. >> TRANSLATION WHEN A DATABASE STRUCTURE DOES NOT EXIST <<
  1314.  
  1315. If the structure does not exist when a file is translated to a database
  1316. Output File type, AutoImport creates the database structure by setting the
  1317. field names, field length and field type to that defined in the mask.
  1318.  
  1319. The database field names that are written to the structure are the Mask's
  1320. column names.  The column names initially default to the column letters
  1321. (i.e., A, B, C, D,...).  The names of the columns (data fields) can be
  1322. changed to any valid field name (i.e., NAME, ADDRESS, etc.) by selecting
  1323. the Mask Screen's Column Name option.
  1324.  
  1325. NOTE:  If the mask is later redefined to include more or fewer columns
  1326. (perhaps results of the translation were not as desired), delete the
  1327. database file and associated structure created by AutoImport with the DOS
  1328. DELETE or ERASE commands.
  1329.  
  1330.  
  1331. >> CREATING RECORDS FROM REPORT FILES <<
  1332.  
  1333. Some reports do not include information on every line for the lines to be
  1334. used as individual database records.  Some reports contain information in a
  1335. heading at the top of the page that needs to be included on each line. 
  1336. Columns containing this information can be added using the Mask Screen's
  1337. Line Tag feature.
  1338.  
  1339. Some reports leave a column blank on a line if it would contain the same
  1340. information as that for the preceding line.  Information from previous
  1341. lines can be duplicated into the blank cells on each line selecting the
  1342. Mask Screen's Column Blank Duplicate option.
  1343.  
  1344.  
  1345. --------------------------------------------------------------------------
  1346. --------------------------------------------------------------------------
  1347. --------------------------------------------------------------------------
  1348.  
  1349.                        COMMAND LINE USE REFERENCE
  1350.  
  1351.  
  1352. The Translation, Utilities, and Printer Interceptor functions can be
  1353. performed using a DOS command line.  The command line can be executed from
  1354. the DOS prompt, included in a .BAT file, or incorporated into a software
  1355. management system as one of its menu items.  Using command lines makes it
  1356. easy to perform repetitive tasks automatically.
  1357.  
  1358.  
  1359. >> TRANSLATION COMMAND LINE <<
  1360.  
  1361. Once a Mask has been defined and saved to disk, the translation can be
  1362. performed from a DOS command line.
  1363.  
  1364. Syntax:
  1365.  
  1366.    AI mask[,[input],[output],[type],[display],[run],[confirm]] [/A] [/C]
  1367.  
  1368. The command line parameters that follow the AI command are positional and
  1369. separated by commas.  If a parameter is skipped, a comma must be used to
  1370. hold its place.  The switches, /A and /C, are not positional and are not
  1371. separated by commas.
  1372.  
  1373. mask      Mask File name, including the path if necessary.  This is the
  1374.           only required parameter.  If no other parameters are specified,
  1375.           the parameters specified when the mask was created (or last
  1376.           saved) will be used in the translation.
  1377.  
  1378. input     Input File name, including the path and extension if necessary.
  1379.  
  1380. output    Output File name, including the path if necessary.  If an
  1381.           extension is specified, it will be used rather than the file
  1382.           extension AutoImport normally uses that is based on the type of
  1383.           translation.
  1384.  
  1385. type      Type of translation to be performed.  Any of the following types
  1386.           can be specified:
  1387.  
  1388.           WKS   Lotus 1-2-3 release 1 and 1A
  1389.           WK1   Lotus 1-2-3 release 2.x
  1390.           WK3   Lotus 1-2-3 release 3.x
  1391.           WRK   Symphony release 1.0
  1392.           WR1   Symphony release 1.1, 1.2 and 2.x
  1393.           WKQ   Borland Quattro
  1394.           WQ1   Borland Quattro Pro
  1395.           XLS   Microsoft Excel
  1396.           DBF   dBase III
  1397.           DBF2  dBase II
  1398.           DBF3  dBase III
  1399.           DBF4  dBase IV
  1400.           DAT   Clarion
  1401.           DIF   Columnwise DIF
  1402.           CDIF  Columnwise DIF
  1403.           RDIF  Rowwise DIF
  1404.           SLK   SYLK or Symbolic Link
  1405.           PRN   Print Image
  1406.           ASC   Comma separated with quotes around strings
  1407.           CSV   Comma Separated Variable
  1408.           SDF   Standard Data Format
  1409.           FXD   Fixed record format without delimiters
  1410.           TSV   Tab separated variables
  1411.           TXT   ASCII text file
  1412.           LBL   Mailing label format
  1413.           WRD   Microsoft Word data document
  1414.           W50   Word Perfect 5.0 secondary merge file
  1415.           W51   Word Perfect 5.1 secondary merge file
  1416.  
  1417. display   Specifies whether the output is to be displayed on screen during
  1418.           translation: Y for yes, N for no.  The default is Yes.
  1419.  
  1420. program   Launches another program immediately following completion of the
  1421.           translation.  This is useful, for example, if after performing a
  1422.           translation to a spreadsheet file, the .WKS file will be opened
  1423.           with Lotus 1-2-3.
  1424.  
  1425. confirm   Specifies whether Include Line and Exclude Line treatments must
  1426.           be confirmed manually during the translation.  Y for yes, N for
  1427.           no.  The default is No.
  1428.  
  1429. /A        Appends the output of the translation to the end of an existing
  1430.           Output File.
  1431.  
  1432. /C        File-combines the output of the translation into an existing
  1433.           spreadsheet Output File beginning at the starting cell declared
  1434.           during mask definition.
  1435.  
  1436. The only required parameter is the Mask File name.  If no other parameters
  1437. are specified, the parameters defined when the mask was created or last
  1438. saved are used.
  1439.  
  1440. To specify some parameters and not others, include the intervening commas
  1441. as place holders.  This is necessary to indicate to AutoImport which of the
  1442. options you want to use.  For example, if you want to use the name of the
  1443. Input File stored with the mask, but want to change the name of the Output
  1444. File, you would place two commas before the name of the new Output File. 
  1445. Otherwise, AutoImport would interpret the file name as that of an Input
  1446. File.  Commas, however, are unnecessary as place holders before the /A and
  1447. /C parameters.
  1448.  
  1449. If a parameter is not specified on the command line and the parameter has
  1450. not been specified in the mask, the translation cannot proceed.  In such
  1451. cases when AutoImport aborts the translation, a message is displayed on the
  1452. screen to indicate the missing or invalid parameter(s).
  1453.  
  1454. The following four examples illustrate the ways translations can be
  1455. initiated using a command line.
  1456.  
  1457.  
  1458. TRANSLATION COMMAND LINE EXAMPLE 1
  1459.  
  1460. To perform a translation from the command line using the following
  1461. parameters:
  1462.  
  1463.    Mask File name           MYMASK
  1464.    Input File name          AIDEMO.TXT
  1465.    Output File name         SALESDAT
  1466.    Translation type         WKS
  1467.    Display on               Y (Yes)
  1468.    Program to run           LOTUS
  1469.    Confirm include/exclude  Y (Yes)
  1470.    Append to existing file  /A
  1471.  
  1472. The command line should read:
  1473.  
  1474.    AI MYMASK,AIDEMO.TXT,SALESDAT,WKS,Y,LOTUS,Y/A
  1475.  
  1476.  
  1477.  
  1478. TRANSLATION COMMAND LINE EXAMPLE 2
  1479.  
  1480. To perform a translation from the command line using the following
  1481. parameters:
  1482.  
  1483.    Mask File name           MYMASK
  1484.    Input File name          as specified in the mask
  1485.    Output File name         as specified in the mask
  1486.    Translation type         WKS
  1487.    Display on               default to yes
  1488.    Program to run           none
  1489.    Confirm include/exclude  default to no
  1490.  
  1491. The command line should read:
  1492.  
  1493.    AI MYMASK,,,WKS
  1494.  
  1495.  
  1496. TRANSLATION COMMAND LINE EXAMPLE 3
  1497.  
  1498. To perform a translation from the command line using the following
  1499. parameters:
  1500.  
  1501.    Mask File name           MYMASK
  1502.    Input File name          as specified in the mask
  1503.    Output File name         as specified in the mask
  1504.    Translation type         as specified in the mask
  1505.    Display on               default to yes
  1506.    Program to run           none
  1507.    Confirm include/exclude  default to no
  1508.  
  1509. The command line should read:
  1510.  
  1511.    AI MYMASK
  1512.  
  1513.  
  1514.  
  1515. TRANSLATION COMMAND LINE EXAMPLE 4
  1516.  
  1517. To perform a translation from the command line using the following
  1518. parameters:
  1519.  
  1520.    Mask File name           MYMASK
  1521.    Input File name          ORIGINAL.DAT
  1522.    Output File name         GOOD
  1523.    Translation type         as specified in the mask
  1524.    Display on               default to yes
  1525.    Program to run           none
  1526.    Confirm include/exclude  default to no
  1527.    File-combine             /C
  1528.  
  1529. The command line should read:
  1530.  
  1531.    AI MYMASK,ORIGINAL.DAT,GOOD/C
  1532.  
  1533.  
  1534. >> UTILITIES COMMAND LINE <<
  1535.  
  1536. The running of a utility can be initiated from a DOS command line.
  1537.  
  1538. Syntax:
  1539.     AIUTIL option[=v1[,v2]] input [output] [/W]
  1540.  
  1541. The option, input file name and output file name parameters are positional
  1542. and separated by spaces.
  1543.  
  1544. option    Option or utility to be performed.  AutoImport offers eleven
  1545.           options or utilities.
  1546.  
  1547.           L     Line-split
  1548.           R     Record-split
  1549.           T     Tab-expansion
  1550.           C     CSV (Comma Separated Variable) to columnar
  1551.           F     Fixed length records
  1552.           S     Statistics
  1553.           U     Unstack
  1554.           D     Dbase to ASCII columnar
  1555.           H     Header of dBase to ASCII file
  1556.           A     ASCII to EBCDIC
  1557.           E     EBCDIC to ASCII
  1558.  
  1559.           The options and examples of their uses are described later in
  1560.           this section.
  1561.  
  1562. v1 & v2   Required and/or optional values.  Whether these values are used
  1563.           depends on the utility option specified.
  1564.  
  1565. input     Input File name, including the path and extension if necessary.
  1566.  
  1567. output    Output File name, without an extension, but including any drive
  1568.           and path specifications necessary to tell AutoImport where to
  1569.           find the file, if an existing file, and where to place the file,
  1570.           if a new file.  If an Output File name is not specified, the
  1571.           Output Files will have the same path and name as the Input File. 
  1572.           AutoImport provides unique, sequential file extensions (.A1
  1573.           through .A99), as some options produce more than one Output File.
  1574.  
  1575. /W        Includes a Warning if AutoImport detects that the Output File
  1576.           name specified already exists.  Stops the program and prompts
  1577.           whether to proceed.  If not specified, any file(s) having the
  1578.           same name as the Output File will be overwritten.
  1579.  
  1580. AutoImport offers eleven options or utilities.  Descriptions of these
  1581. options and examples of their use are provided below:
  1582.  
  1583. L=v1      LINE-SPLIT     Splits the Input File vertically by producing two
  1584.                          or more Output Files with shorter record lengths. 
  1585.                          The value v1 is the maximum record length in the
  1586.                          Output Files.
  1587.  
  1588.                          For example, to split the file INFILE.DAT into
  1589.                          files with a record length of 80 and output the
  1590.                          data into files with the name of OUTFILE, the
  1591.                          command line would read as follows:
  1592.  
  1593.                               AIUTIL L=80 INFILE.DAT OUTFILE
  1594.  
  1595.                          The number of files created depends on the length
  1596.                          of the Input File and the number of characters
  1597.                          specified as the maximum length for each Output
  1598.                          File.  The first Output File is named OUTFILE.A1,
  1599.                          the second OUTFILE.A2, etc.
  1600.  
  1601. R=v1      RECORD-SPLIT   Splits the Input File into two or more files with
  1602.                          fewer records in each Output File.  The value v1
  1603.                          is the maximum number of records in the Output
  1604.                          Files.
  1605.  
  1606.                          For example, to split the file INFILE.DAT into
  1607.                          files with no more than 8192 records per file, the
  1608.                          command line would read as follows:
  1609.  
  1610.                               AIUTIL R=8192 INFILE.DAT
  1611.  
  1612.                          The number of files created depends on the length
  1613.                          of the Input File and the number of records
  1614.                          specified as the maximum for each Output File. 
  1615.                          The first Output File is named INFILE.A1, the
  1616.                          second INFILE.A2, etc.
  1617.  
  1618. T=v1      TABS           Expands tab characters by the value indicated by
  1619.                          v1.  This value sets the number of spaces to use
  1620.                          as tab stops.
  1621.  
  1622.                          For example, to expand the tabs in the file
  1623.                          INFILE.DAT with tab stops of 8, the command line
  1624.                          would read as follows:
  1625.  
  1626.                               AIUTIL T=8 INFILE.DAT 
  1627.  
  1628. C         CSV            Converts a comma separated variable file into a
  1629.                          file with fields of fixed length.
  1630.  
  1631.                          For example, to convert the file INFILE.DAT, the
  1632.                          command line would read as follows:
  1633.  
  1634.                               AIUTIL C INFILE.DAT
  1635.  
  1636. F=v1[,v2] FIXED          Converts a fixed length record file that does not
  1637.                          have record separators into a sequential file with
  1638.                          record separators.  The value v1 is the length of
  1639.                          each record in characters.  The optional value v2
  1640.                          is the number of characters to skip at the
  1641.                          beginning of the Input File before outputing
  1642.                          records.  This option is useful when the first
  1643.                          part of the file contains header information or
  1644.                          other data that should not be translated.
  1645.  
  1646.                          For example, to convert the file INFILE.DAT into
  1647.                          sequential records with a length of 16 and to skip
  1648.                          the first 18 bytes in the file, the command line
  1649.                          would read as follows:
  1650.  
  1651.                          AIUTIL F=16,18 INFILE.DAT
  1652.  
  1653. S         STATISTICS     Displays statistics about the Input File.  The
  1654.                          statistics include the length of the longest line,
  1655.                          the number of lines, and whether the file contains
  1656.                          tab characters.
  1657.  
  1658.                          For example, to display statistics about the file
  1659.                          INFILE.DAT, the command line would read as follows
  1660.                          as follows:
  1661.  
  1662.                               AIUTIL S INFILE.DAT
  1663.  
  1664. U=v1[,v2] UNSTACK        Unstacks a file containing multiple lines that
  1665.                          logically go together, but are on separate lines. 
  1666.                          The value v1 specifies the number of lines to be
  1667.                          combined into a single line.  The optional         
  1668.                          value v2 is the number of lines to skip at the
  1669.                          beginning of the file before combining lines. 
  1670.                          This option is useful if the first part of the
  1671.                          file contains header information or other data
  1672.                          that should not be translated.
  1673.  
  1674.                          For example, to unstack the file INFILE.DAT by
  1675.                          combining each pair of lines in the Input File,
  1676.                          skipping the first 5 lines, the command line would
  1677.                          read:
  1678.                               AIUTIL U=2,5 INFILE.DAT
  1679.  
  1680. D         DBASE          Creates a sequential file that is usable by
  1681.                          AutoImport from a dBase II, III or IV data file.
  1682.  
  1683.                          For example, to convert the dBase file INFILE.DBF
  1684.                          to a sequential file, the command line would read
  1685.                          as follows:
  1686.  
  1687.                               AIUTIL D INFILE.DBF
  1688.  
  1689. H         HEADER         Outputs the dBase file structure contained in the
  1690.                          database file's header record.
  1691.  
  1692.                          For example, to output the structure of the dBase
  1693.                          file INFILE.DBF, the command line would read as
  1694.                          follows:
  1695.  
  1696.                               AIUTIL H INFILE.DBF
  1697.  
  1698. A         ASCII TO EBCDIC
  1699.                          Converts a file whose characters are encoded in
  1700.                          ASCII (used by PC's) into a file encoded in EBCDIC
  1701.                          (used by IBM midrange and mainframe computers).
  1702.  
  1703.                          For example, to convert the ASCII file INFILE.DAT
  1704.                          to an EBCDIC file, the command line would read as
  1705.                          follows:
  1706.  
  1707.                               AIUTIL A INFILE.DAT
  1708.  
  1709. E         EBCDIC TO ASCII
  1710.                          Converts a file whose characters are encoded in
  1711.                          EBCDIC into a file encoded in ASCII, that is
  1712.                          usable by AutoImport.
  1713.  
  1714.                          For example, to convert the EBCDIC file INFILE.DAT
  1715.                          to an ASCII file, the command line would read as
  1716.                          follows:
  1717.  
  1718.                               AIUTIL E INFILE.DAT
  1719.  
  1720.  
  1721.  
  1722. >> PRINTER INTERCEPTOR COMMAND LINE <<
  1723.  
  1724. The Printer Interceptor terminate and stay resident (TSR) program that
  1725. intercepts output going to a printer port and redirects the output to a
  1726. file can be installed in memory from a DOS command line.  Additionally, the
  1727. current installation in memory can be modified from the DOS command line.
  1728.  
  1729. Syntax:
  1730.  
  1731.      PI printer filename [/A][/Bv][/N][/P][/Q][/Tv][/S][/U]
  1732.  
  1733. The printer and file name parameters are positional and separated by
  1734. spaces.  The switches are not separated by spaces, and can be in any order.
  1735.  
  1736. printer   Printer port to be intercepted.  Valid printer ports are PRN,
  1737.           LPT1, LPT2, and LPT3.  To intercept a serial port, the DOS MODE
  1738.           command must be used to redirect output to one of the parallel
  1739.           ports before starting Printer Interceptor.
  1740.  
  1741. filename  Capture File name, including the drive, path and extension if
  1742.           necessary.  This file will receive the information intercepted
  1743.           from the printer port.  If no drive or path is specified, the
  1744.           Capture File is placed in the current directory.  If no extension
  1745.           is provided, PRN will be used.
  1746.  
  1747. /A        Appends the intercepted data to the end of the Capture File.  The
  1748.           default is to overwrite the file if it exists.
  1749.  
  1750. /Bv       Specifies the size of the memory buffer with "v" that Printer
  1751.           Interceptor uses in writing to the Capture File.  The larger the
  1752.           buffer, the faster Printer Interceptor operates.  The default
  1753.           buffer size is 5,120 bytes.  The buffer can be no larger than
  1754.           62,000 bytes.
  1755.  
  1756.           The larger the buffer size, the more memory that is required to
  1757.           install printer interceptor, and the less memory that is
  1758.           available for other applications.  With a larger buffer size,
  1759.           Printer Interceptor physically writes to the disk less often.
  1760.  
  1761.           NOTE:   If the buffer size is not adequate, some applications on
  1762.           fast computers may overflow the buffer before Printer Interceptor
  1763.           can write its contents to disk.  If this occurs, Printer
  1764.           Interceptor beeps and some data will be missing from the Capture
  1765.           File.
  1766.  
  1767. /N        Disables the hot-key combination of <Alt-Shift-P> that toggles
  1768.           interception on and off.
  1769.  
  1770.           NOTE:   The /N switch should be specified if another TSR is using
  1771.           the same hot-key combination of <Alt-Shift-P>.
  1772.  
  1773. /P        Prints the data while intercepting to a file.  The default mode
  1774.           only captures the data to the file and does not print it.  The /P
  1775.           option should only be used if a printer is connected to the port
  1776.           from which output is being intercepted.
  1777.  
  1778. /Q        Selects quiet operation.  To confirm that it is working, Printer
  1779.           Interceptor defaults to audible operation (speaker buzzes during
  1780.           interception).
  1781.  
  1782. /Tv       Times out after the number of seconds specified with "v" after
  1783.           interception of the last character.  When time out occurs, the
  1784.           capture buffer is flushed and the Capture File is closed. 
  1785.           Printer Interceptor writes from its buffer to the Capture File if
  1786.           the buffer fills, if time out occurs, or under certain other
  1787.           conditions.  The time out can be set to any number of seconds
  1788.           between 0 and 3600 (1 hour).  The default is 30 seconds.
  1789.  
  1790.           Time out does not stop printer interception.  Time out has two
  1791.           uses.  It can be used to verify that the intercepted data is
  1792.           physically written to the disk for protection from loss of
  1793.           electrical power.  It is also used with interception of date and
  1794.           time stamped files (discussed later in this section).
  1795.  
  1796. /S        Stops interception by deactivating Printer Interceptor.
  1797.  
  1798. /U        Un-installs or removes Printer Interceptor from memory.
  1799.  
  1800.  
  1801. PRINTER INTERCEPTOR COMMAND LINE EXAMPLE
  1802.  
  1803. Following is an example of a command line for intercepting output normally
  1804. routed to LPT1.  This line sends the data to the file named CAPTURE.DAT in
  1805. the directory MYDIR, as well as sending it to the printer.
  1806.  
  1807.      PI LPT1 \MYDIR\CAPTURE.DAT /P
  1808.  
  1809.  
  1810. CHANGING PRINTER INTERCEPTOR'S SETTINGS
  1811.  
  1812. Printer Interceptor does not have to be stopped in order to change the port
  1813. from which data is being intercepted or the file that should receive the
  1814. data.  Simply, reissue the PI command with the printer and file name
  1815. parameters, and any desired switches.
  1816.  
  1817.  
  1818. DISPLAYING THE CURRENT SETTINGS
  1819.  
  1820. To see the current settings for Printer Interceptor after it is installed
  1821. in memory, issue the PI command with no parameters.
  1822.  
  1823.  
  1824. TEMPORARILY STOPPING PRINTER INTERCEPTOR
  1825.  
  1826. After Printer Interceptor is installed, it can be temporarily deactivated
  1827. from the DOS command line by issuing the PI /S command.  All interception
  1828. stops.  To restart Printer Interceptor from the DOS command line, simply
  1829. re-issue the Printer Interceptor command with the desired parameters.
  1830.  
  1831. To temporarily disable Printer Interceptor by using the hot-key, press
  1832. <Alt-Shift-P>.  To re-enable Printer Interceptor, press <Alt-Shift-P>
  1833. again.  Two beeps indicate when Printer Interceptor is disabled; one beep
  1834. indicates when Printer Interceptor is re-enabled.
  1835.  
  1836. If Printer Interceptor has been deactivated with the /S option, the
  1837. <Alt-Shift-P> key combination will beep, but has no effect.
  1838.  
  1839.  
  1840. DATE AND TIME STAMPED FILES
  1841.  
  1842. Printer Interceptor can create Capture Files that have the date and time of
  1843. interception as part of the file name.  A new date and time stamped file is
  1844. started after each "time out" as determined by the value of the /T switch,
  1845. which defaults to 30 seconds.
  1846.  
  1847. To activate the date and time stamp feature replace the file name on the
  1848. command line with "D*".  Examples:
  1849.  
  1850.    PI PRN D*
  1851.  
  1852.    PI LPT2 A:\D*.DAT
  1853.  
  1854.    PI LPT1 D*.  /T5
  1855.  
  1856. The first example places the intercepted output into date and time stamped
  1857. files in your current directory with a ".PRN" extension.  The second
  1858. example captures the output going to LPT2 and puts it into files on the A:
  1859. drive with an extension of ".DAT".  The third example intercepts LPT1 and
  1860. puts the output into date and time stamped files in the current directory
  1861. without an extension; the interception "times out" 5 seconds after the last
  1862. character is received.
  1863.  
  1864. The name of the Capture File is in the form of MMDDhhmm, where the first 2
  1865. characters are the month number.  The next 2 characters are the day number,
  1866. followed by the hour and the minutes.  If the extension is not provided, it
  1867. will default to ".PRN".  For example, a date and time stamped file created
  1868. on October 15, 1991 at 1:30 PM would be 10151330.PRN.
  1869.  
  1870. Printer Interceptor creates a new file with a new date and time stamp if it
  1871. times out after the last character is intercepted or if Printer Interceptor
  1872. is temporarily disabled with the <Alt-Shift-P> key combination.
  1873.  
  1874.  
  1875. UNINSTALLING PRINTER INTERCEPTOR
  1876.  
  1877. After Printer Interceptor is installed, it can be uninstalled from the DOS
  1878. command line by issuing the PI /U command.  This removes Printer
  1879. Interceptor from memory and normal operation of the printer will be
  1880. resumed.
  1881.  
  1882.  
  1883. -------------------------  END OF DOCUMENT -------------------------------